package com.iuhao.orange.response;

/**
 * @auther Yang peng <yangpeng01@credit.com>
 * @date 2016/5/13
 */
public final class ResponseCode {


    /**
     * 成功
     */
    public static final int SUCCESS = 200;

    /**
     * 未认证
     */
    public static final int UNAUTHORIZED = 401;

    /**
     * 拒绝访问
     */
    public static final int ERROR_ACCESS_DENIED = 403;

    /**
     * 默认错误代码
     */
    public static final int DEFAULT_ERROR = 600;

    /**
     * 校验失败
     */
    public static final int ERROR_VALIDATE = 601;

    /**
     * 已经存在(重复数据)
     */
    public static final int ERROR_DUPLICATE = 602;

    /**
     * 不存在(未找到)
     */
    public static final int ERROR_NOT_FOUND = 604;


    /**
     * 接口参数数据格式不正确
     */
    public static final int ERROR_INVALID_PARAMETER = 605;

    /**
     * 系统维护
     */
    public static final int ERROR_SYSTEM_MAINTAIN = 886;


}
